<?php

    function peiYangUser($uid,$taskGrade){
        $res = model('user')
            ->where('puid',$uid)
            ->where('grade','>=',$taskGrade)
            ->count();
        return $res;
    }